package com.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Limits entity. @author MyEclipse Persistence Tools
 */

public class Limits implements java.io.Serializable {

	// Fields

	private Integer id;
	private Boolean publish;
	private Boolean reply;
	private Boolean delete;
	private String description;
	private Set users = new HashSet(0);

	// Constructors

	/** default constructor */
	public Limits() {
	}

	/** minimal constructor */
	public Limits(Boolean publish, Boolean reply, Boolean delete,
			String description) {
		this.publish = publish;
		this.reply = reply;
		this.delete = delete;
		this.description = description;
	}

	/** full constructor */
	public Limits(Boolean publish, Boolean reply, Boolean delete,
			String description, Set users) {
		this.publish = publish;
		this.reply = reply;
		this.delete = delete;
		this.description = description;
		this.users = users;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Boolean getPublish() {
		return this.publish;
	}

	public void setPublish(Boolean publish) {
		this.publish = publish;
	}

	public Boolean getReply() {
		return this.reply;
	}

	public void setReply(Boolean reply) {
		this.reply = reply;
	}

	public Boolean getDelete() {
		return this.delete;
	}

	public void setDelete(Boolean delete) {
		this.delete = delete;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set getUsers() {
		return this.users;
	}

	public void setUsers(Set users) {
		this.users = users;
	}

}